package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.common.enums.AuthTypeEnum;
import com.cedarhd.brzx.common.enums.CertificateTypeEnum;
import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 企业基本信息
 * Created by Administrator on 2018/5/3.
 */
@Data
public class CompanyBasicInfoDTO {

    @ApiModelProperty(value = "企业名称",required = true)
    @NotEmptyXs(message = "companyName不能空")
    private String companyName;

    @ApiModelProperty(value = "企业地址")
    private String companyAddress;

    @ApiModelProperty(value = "认证类型")
    private AuthTypeEnum authType;

    @ApiModelProperty(value = "统一社会信用（一证）")
    private String uniCredit;

    @ApiModelProperty(value = "营业执照号（三证）")
    private String businessLicense;

    @ApiModelProperty(value = "组织机构代码（三证）")
    private String organizationCode;

    @ApiModelProperty(value = "税务登记证（三证）")
    private String taxRegister;

    @ApiModelProperty(value = "统一社会信用/营业执照号到期时间")
    private String expLicens;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "法人姓名",required = true)
    @NotEmptyXs(message = "legalName不能空")
    private String legalName;

    @ApiModelProperty(value = "法人证件类型",required = true)
    @NotNull(message = "identityType不能空")
    private CertificateTypeEnum identityType;

    @ApiModelProperty(value = "法人证件号码",required = true)
    @NotEmptyXs(message = "legalIds不能空")
    private String legalIds;

    @ApiModelProperty(value = "法人手机号码",required = true)
    @NotEmptyXs(message = "legalPhone不能空")
    private String legalPhone;

    @ApiModelProperty(value = "企业对公账户",required = true)
    @NotEmptyXs(message = "accountNo不能空")
    private String accountNo;

    @ApiModelProperty(value = "开户银行名称",required = true)
    @NotEmptyXs(message = "parentBankName不能空")
    private String parentBankName;

    @ApiModelProperty(value = "开户行地区代码")
    private String bankCityNo;

    @ApiModelProperty(value = "开户行支行名称")
    private String bankName;

    @ApiModelProperty(value = "支付行号")
    private String unionBank;
}


